package pl.edu.agh.configs;
/**
 * 
 * @author wkedzior
 *
 */
public class ServerConfig {
	private int port;
	private long readTimeout;
	private long writeTimeout;
	private long maxSesionCount;

	public ServerConfig(){}
	
	public ServerConfig(int port, long readTimeout, long writeTimeout,
			long maxSesionCount) {
		super();
		this.port = port;
		this.readTimeout = readTimeout;
		this.writeTimeout = writeTimeout;
		this.maxSesionCount = maxSesionCount;
	}

	public long getReadTimeout() {
		return readTimeout;
	}

	public void setReadTimeout(long readTimeout) {
		this.readTimeout = readTimeout;
	}

	public long getWriteTimeout() {
		return writeTimeout;
	}

	public void setWriteTimeout(long writeTimeout) {
		this.writeTimeout = writeTimeout;
	}

	public long getMaxSesionCount() {
		return maxSesionCount;
	}

	public void setMaxSesionCount(long maxSesionCount) {
		this.maxSesionCount = maxSesionCount;
	}

	public ServerConfig(int port) {
		super();
		this.port = port;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
	
}
